<!-- 报案人/被害人(龙文友) -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	template="/layout/page/form/page-fieldset-template.xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:sinox="http://www.sinosoft.com.cn/sinox">
	
	<ui:param name="compId" value="#{commonContentViewBean.id}" />
	<ui:param name="compTitle" value="报案人/被害人信息" />
	<ui:param name="compToggleable" value="true" />
	<ui:param name="pvb" value="#{commonContentViewBean.parent}"/>
	
	<ui:define name="compHiddens">
	 	
	</ui:define>
	
	<ui:define name="compContent">
		<ui:decorate template="/layout/input/editable-template.xhtml">
			<!-- 第一行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="sheanleixing" />
				<ui:param name="compBean2Id" value="ifbaoanren" />
				<ui:param name="compBean1Lable" value="涉案类型" />
				<ui:param name="compBean2Lable" value="是否主报案人" />
				
				<ui:define name="compBean1Content">
					 <sinox:codeSetInputTree id="salx" codeSetId="id_c_salx" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
				
				<ui:define name="compBean2Content">
					<p:selectOneRadio>
						<f:selectItem itemLabel="否" itemValue="1" />
						<f:selectItem itemLabel="是" itemValue="0" />
					</p:selectOneRadio>
				</ui:define>
			</ui:decorate>
			
			<!-- 第二行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="shouhaixingshi" />
				<ui:param name="compBean2Id" value="shouhaichengdu" />
				<ui:param name="compBean1Lable" value="受害形式" />
				<ui:param name="compBean2Lable" value="受害程度" />
				
				<ui:define name="compBean1Content">
					 <sinox:codeSetInputTree id="shxs" codeSetId="id_c_shxs" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="shcd" codeSetId="id_c_shcd" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
			</ui:decorate>
			
			<!-- 第三行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="xingming" />
				<ui:param name="compBean2Id" value="xingbie" />
				<ui:param name="compBean1Lable" value="姓名" />
				<ui:param name="compBean2Lable" value="性别" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="xingming" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					<p:selectOneRadio>
						<f:selectItem itemLabel="男" itemValue="1" />
						<f:selectItem itemLabel="女" itemValue="0" />
					</p:selectOneRadio>
				</ui:define>
			</ui:decorate>
			
			<!-- 第四行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="bieming" />
				<ui:param name="compBean2Id" value="chuohao" />
				<ui:param name="compBean1Lable" value="别名" />
				<ui:param name="compBean2Lable" value="绰号" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="bieming" value="" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="chuohao" value="" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第五行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="chushengriqi" />
				<ui:param name="compBean2Id" value="hunfou" />
				<ui:param name="compBean1Lable" value="出生日期" />
				<ui:param name="compBean2Lable" value="婚否" />
				
				<ui:define name="compBean1Content">
					 <p:calendar id="chushengriqi" pattern="yyyy-MM-dd" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="hyzk" codeSetId="id_c_hyzk" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
			</ui:decorate>
			
			<!-- 第六行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="mingzu" />
				<ui:param name="compBean2Id" value="zhengzhimianmao" />
				<ui:param name="compBean1Lable" value="名族" />
				<ui:param name="compBean2Lable" value="政治面貌" />
				
				<ui:define name="compBean1Content">
					 <sinox:codeSetInputTree id="mz" codeSetId="id_c_mz" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="zzmm" codeSetId="id_c_zzmm" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
			</ui:decorate>
			
			<!-- 第七行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="lianxidianhua" />
				<ui:param name="compBean2Id" value="shenfenzhenghao" />
				<ui:param name="compBean1Lable" value="联系电话" />
				<ui:param name="compBean2Lable" value="身份证号" />
				
				<ui:define name="compBean1Content">
					 <h:inputText id="lianxidianhua" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="shenfenzhenghao" value=" " />
				</ui:define>
			</ui:decorate>
			
			<!-- 第八行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="jiguanguoji" />
				<ui:param name="compBean2Id" value="kouyin" />
				<ui:param name="compBean1Lable" value="籍贯国籍" />
				<ui:param name="compBean2Lable" value="口音" />
				
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="gj" codeSetId="id_c_gj" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
				<ui:define name="compBean2Content">
					<h:selectOneMenu value=" ">
					     <f:selectItem itemLabel="请选择" itemValue="0"/>
					</h:selectOneMenu>
				</ui:define>
			</ui:decorate>
			
			<!-- 第九行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="chushengquhua" />
				<ui:param name="compBean1Lable" value="出生区划" />
				
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="csqh" codeSetId="id_c_xzqh" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
			</ui:decorate>
			
			<!-- 第十行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="chushengzhuzhi" />
				<ui:param name="compBean1Lable" value="出生住址" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="chushengzhuzhi" value=" " />
				</ui:define>
			</ui:decorate>
			
			<!-- 第十一行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="hujiquhua" />
				<ui:param name="compBean1Lable" value="户籍区划" />
				
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="hjqh" codeSetId="id_c_xzqh" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
			</ui:decorate>
			
			<!-- 第十二行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="hujidizhi" />
				<ui:param name="compBean1Lable" value="户籍地址" />
				
				<ui:define name="compBean1Content">
					 <h:inputText id="hujidizhi" value=" " />
				</ui:define>
			</ui:decorate>
			
			<!-- 第十三行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="xianzhuquhua" />
				<ui:param name="compBean1Lable" value="现住区划" />
				
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="xsszqh" codeSetId="id_c_xzqh" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
			</ui:decorate>
			
			<!-- 第十四行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="xianzhudizhi" />
				<ui:param name="compBean1Lable" value="现住地址" />
				
				<ui:define name="compBean1Content">
					 <h:inputText id="xianzhudizhi" value=" " />
				</ui:define>
			</ui:decorate>
			
			<!-- 第十五行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="gongzuodanwei" />
				<ui:param name="compBean2Id" value="danweidizhi" />
				<ui:param name="compBean1Lable" value="工作单位" />
				<ui:param name="compBean2Lable" value="单位地址" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="gongzuodanwei" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="danweidizhi" value=" " />
				</ui:define>
			</ui:decorate>
			
			<!-- 第十六行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="zhiwu" />
				<ui:param name="compBean2Id" value="zhiye" />
				<ui:param name="compBean1Lable" value="职务" />
				<ui:param name="compBean2Lable" value="职业" />
				
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="zsw" codeSetId="id_c_zw" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="zy" codeSetId="id_c_zy" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
			</ui:decorate>
			
			<!-- 第十七行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="teshushenfen" />
				<ui:param name="compBean2Id" value="wenhuachengdu" />
				<ui:param name="compBean1Lable" value="特殊身份" />
				<ui:param name="compBean2Lable" value="文化程度" />
				
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="tssf" codeSetId="id_c_tssf" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="whcd" codeSetId="id_c_whcd" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
			</ui:decorate>
			
			<!-- 第十八行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single-all" />
				<ui:param name="compBean1Id" value="beizhu" />
				<ui:param name="compBean1Lable" value="备注" />
				
				<ui:define name="compBean1Content">
				<h:inputTextarea
					 style="width:100%;height:100px;overflow:auto;"
					 id="beizhu" effectDuration="400"
					 value=" " />
				</ui:define>
			</ui:decorate>
		</ui:decorate>
		
	</ui:define>



	<ui:define name="compButtons">
		<p:commandButton
			title="保存"
			onstart="this.disabled=true"
			image="./img/icons/add.png" value="保存" style="margin:5px;"
			>
			 
		</p:commandButton>
		
		<p:commandButton
			title="提交"
			onstart="this.disabled=true"
			
			image="./img/icons/add.png" value="提交" style="margin:5px;"
			>
			 
		</p:commandButton>
		
		<p:commandButton title="重置" image="ui-icon-disk" value="重置"></p:commandButton>
	</ui:define>
</ui:composition>
